import request from "../http/http.js"

// 查询真皮列表
export const getzhenpiList = (data) => {
    console.log(data,"接口触发")
    return request.post('/getZhenpiList',data,{});
};
// 添加用户
export const addzhenpiList = (data)=>{
    console.log(data,"添加用户接口")
    return request.post('/addzhenpiList',data,{})
}

// 删除真皮材料
export const deletezhenpiList = (data)=>{
    console.log(data,"添加用户接口")
    return request.post('/deletezhenpiList',data,{})
}

// 编辑真皮材料
export const editzhenpiList = (data)=>{
    console.log(data,"编辑真皮接口")
    return request.post('/editzhenpiList',data,{})
}



// 查询真皮订单列表
export const getzhenpiOrderList = (data) => {
    console.log(data,"查询种皮")
    return request.post('/getzhenpiOrderList',data,{});
};
// 添加真皮订单
export const addzhenpiOrderList = (data) => {
    console.log(data,"查询种皮")
    return request.post('/addzhenpiOrderList',data,{});
};
// 修改真皮订单
export const editzhenpiOrderList = (data) => {
    console.log(data,"修改真皮订单")
    return request.post('/editzhenpiOrderList',data,{});
};



//添加真皮出入库记录
export const addzhenpiChuruList = (data) => {
    console.log(data,"添加真皮出入库接口触发")
    return request.post('/addzhenpiChuruList',data,{});
};






// //查询所有角色
// export const getRoles = (data) => {
//     console.log(data,"查询角色接口")
//     return request.post('/getrole',data,{});
// };


// // 查询用户列表
// export const getYuancaiList = (data) => {
//     console.log(data,"接口触发")
//     return request.post('/getYuancaiList',data,{});
// };
